package demo1;

import org.springframework.stereotype.Component;

/**
 * Created by Mikazuki on 2025/3/28.
 */
@Component
public class Person {
    //添加一个sayHi方法
    public void sayHi(){
        System.out.println("person:hi");
    }
}
